package com.xiaotu.common.model;

import java.util.List;

import com.xiaotu.common.util.Constants;

/**
 * @类名 HotTVModel
 * @日期 2017年2月8日
 * @作者 高海军
 * @功能 热剧实体类
 */
public class HotTVModel extends TVModel
{
	private String resourceSiteId;// 站点名称
	private List<String> actors;
	private String url;
	private long timestamp;
	
	/**
	 * @param resourceSiteId
	 * @param tvName
	 * @param actors
	 * @param url
	 */
	public HotTVModel(String resourceSiteId, String tvName, List<String> actors,
			String url)
	{
		super(Constants.TargetType.TV, tvName);
		this.resourceSiteId = resourceSiteId;
		this.actors = actors;
		this.url = url;
		this.timestamp = System.currentTimeMillis();
	}
	
	public String getResourceSiteId()
	{
		return resourceSiteId;
	}
	
	public void setResourceSiteId(String resourceSiteId)
	{
		this.resourceSiteId = resourceSiteId;
	}
	
	public String getUrl()
	{
		return url;
	}
	
	public void setUrl(String url)
	{
		this.url = url;
	}
	
	public long getTimestamp()
	{
		return timestamp;
	}
	
	public void setTimestamp(long timestamp)
	{
		this.timestamp = timestamp;
	}
	
	public List<String> getActors()
	{
		return actors;
	}
	
	public void setActors(List<String> actors)
	{
		this.actors = actors;
	}

	@Override
	public String toString() {
		return "[resourceSiteId=" + resourceSiteId + ",tvName=" + this.getTvName() + ", actors=" + actors + ", url=" + url + ", timestamp="
				+ timestamp + "]";
	}
	
}
